import React from 'react'
import {
    Form,
    Input,
    Button,
    Tabs,
    Toast,
    Modal,
    Space,
    Divider
} from 'antd-mobile'
function Dl() {
    return (
        <div>
            <Button
                block
                type='submit' color='primary' size='large'
                onClick={async () => {
                    const result = await Modal.confirm({
                        content: '您确定要登录',
                    })
                    if (result) {
                        Toast.show({ content: '点击了确认', position: 'bottom' })
                    } else {
                        Toast.show({ content: '点击了取消', position: 'bottom' })
                    }
                }}
            >
                登录
            </Button>
        </div>
    )
}

export default Dl
